class Shares < ActiveRecord::Base
  set_primary_key "id"
  validates_uniqueness_of :code

  def active?
    is_active == '1'
  end
end
